package com.guaju.yueshangLife.bean;

import java.util.List;

public class CartTotal {


    /**
     * code : 200
     * msg : success
     * data : [{"cover":{"path":"/tmp/shop/images/0_42c6808a5599e556f39328680eb3ec32_583x585.jpg?imageslim","host":"https://static.nfangxu.com"},"name":"Velit incidunt.","description":["白色","L"],"stock":780,"price":{"current":"9890.00","original":"98900.00","wholesale":"4945.00"},"number":1,"coupon":[],"id":1}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * cover : {"path":"/tmp/shop/images/0_42c6808a5599e556f39328680eb3ec32_583x585.jpg?imageslim","host":"https://static.nfangxu.com"}
         * name : Velit incidunt.
         * description : ["白色","L"]
         * stock : 780
         * price : {"current":"9890.00","original":"98900.00","wholesale":"4945.00"}
         * number : 1
         * coupon : []
         * id : 1
         */

        private CoverBean cover;
        private String name;
        private int stock;
        private PriceBean price;
        private int number;
        private int id;
        private List<String> description;
        private List<?> coupon;

        public CoverBean getCover() {
            return cover;
        }

        public void setCover(CoverBean cover) {
            this.cover = cover;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public PriceBean getPrice() {
            return price;
        }

        public void setPrice(PriceBean price) {
            this.price = price;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public List<String> getDescription() {
            return description;
        }

        public void setDescription(List<String> description) {
            this.description = description;
        }

        public List<?> getCoupon() {
            return coupon;
        }

        public void setCoupon(List<?> coupon) {
            this.coupon = coupon;
        }

        public static class CoverBean {
            /**
             * path : /tmp/shop/images/0_42c6808a5599e556f39328680eb3ec32_583x585.jpg?imageslim
             * host : https://static.nfangxu.com
             */

            private String path;
            private String host;

            public String getPath() {
                return path;
            }

            public void setPath(String path) {
                this.path = path;
            }

            public String getHost() {
                return host;
            }

            public void setHost(String host) {
                this.host = host;
            }
        }

        public static class PriceBean {
            /**
             * current : 9890.00
             * original : 98900.00
             * wholesale : 4945.00
             */

            private String current;
            private String original;
            private String wholesale;

            public String getCurrent() {
                return current;
            }

            public void setCurrent(String current) {
                this.current = current;
            }

            public String getOriginal() {
                return original;
            }

            public void setOriginal(String original) {
                this.original = original;
            }

            public String getWholesale() {
                return wholesale;
            }

            public void setWholesale(String wholesale) {
                this.wholesale = wholesale;
            }
        }
    }
}
